home *** CD-ROM | disk | FTP | other *** search
- // Errors definitions for WinsockRCP and WinsockRCP2 calls
-
- #define ERCP_NOHOST -1 // No host specified for either filename
- #define ERCP_BADUSER -2 // Unacceptable user name before @
- #define ERCP_FROMHOST -3 // Error message received from remote host
- #define ERCP_LOSTCONN -4 // Lost the connection to host prematurely
- #define ERCP_NOMEM -5 // Cannot allocate memory
- #define ERCP_NOUSER -6 // Can't get user from Windows or WIN.INI
- #define ERCP_TARGET -7 // Target is ambiguous
- #define ERCP_SND_TYPE -8 // Invalid file type to send (i.e. directory)
- #define ERCP_NOMATCH -9 // No match for wildcard on remote host
- #define ERCP_PROTOCOL -10 // RCP Protocol Error
- #define ERCP_DIR_INFO -11 // Can't get info about a directory (stat())
- #define ERCP_WILDCARD -12 // Error in wildcard pattern (local)
- #define ERCP_SND_STAT -13 // Can't get info about a file to send (stat())
- #define ERCP_SND_OPEN -14 // Can't open a file to send (open())
- #define ERCP_SND_READ -15 // Error reading file during send
- #define ERCP_SND_RECUR -16 // Cannot get the filenames in a directory
- #define ERCP_BIGPATH -17 // Pathname is too long
- #define ERCP_RCV_OPEN -18 // Cannot open a file for writing in receive
- #define ERCP_RCV_SIZE -19 // Error adjusting file size after receive
- #define ERCP_RCV_WRITE -20 // Error writing file in receive (out of space?)
- #define ERCP_NO_HANDLES -21 // Too many instances using RCP.DLL
-